package com.ld.hpfs.pojo;

public class DbSourceSetting {
	//数据库设置ID
	private Integer id;
	//公司ID
	private Integer companyId;
	//版本号
	private Integer version;
	//数据源名称
	private String dbsourceName;
	//数据源类型
	//sqlserver, oracle
	private String dbsourceType;
	//数据库名
	private String dbName;
	//数据库实例
	private String instance;
	//数据库用户名
	private String dbusername;
	//数据库用户口令
	private String dbpassword;
	//数据库主机名(或者IP)
	private String dbhostname;
	//数据库端口号
	private String dbport;
	//数据库连接字符串
	private String dbconnectstring;
	//数据查询SQL语句
	private String dbsql;
	//字段映射关系
	private String dbcolumnMapping;
	//创建者ID
	private String creatorId;
	private String createTime;
	public String getCreatorId() {
		return creatorId;
	}


	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}


	public String getCreateTime() {
		return createTime;
	}


	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	//数据库描述
	private String dbdesc;
	
	public String getDbdesc() {
		return dbdesc;
	}


	public void setDbdesc(String dbdesc) {
		this.dbdesc = dbdesc;
	}


	public DbSourceSetting(){
		version = 0;
	}
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getVersion() {
		return version;
	}
	public void setVersion(Integer version) {
		this.version = version;
	}
	public String getDbsourceName() {
		return dbsourceName;
	}
	public void setDbsourceName(String dbsourceName) {
		this.dbsourceName = dbsourceName;
	}
	public String getDbsourceType() {
		return dbsourceType;
	}
	public void setDbsourceType(String dbsourceType) {
		this.dbsourceType = dbsourceType;
	}
	public String getDbName() {
		return dbName;
	}
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	public String getInstance() {
		return instance;
	}
	public void setInstance(String instance) {
		this.instance = instance;
	}
	public String getDbusername() {
		return dbusername;
	}
	public void setDbusername(String dbusername) {
		this.dbusername = dbusername;
	}
	public String getDbpassword() {
		return dbpassword;
	}
	public void setDbpassword(String dbpassword) {
		this.dbpassword = dbpassword;
	}
	public String getDbhostname() {
		return dbhostname;
	}
	public void setDbhostname(String dbhostname) {
		this.dbhostname = dbhostname;
	}
	public String getDbport() {
		return dbport;
	}
	public void setDbport(String dbport) {
		this.dbport = dbport;
	}
	public String getDbconnectstring() {
		return dbconnectstring;
	}
	public void setDbconnectstring(String dbconnectstring) {
		this.dbconnectstring = dbconnectstring;
	}
	public String getDbsql() {
		return dbsql;
	}
	public void setDbsql(String dbsql) {
		this.dbsql = dbsql;
	}
	public String getDbcolumnMapping() {
		return dbcolumnMapping;
	}
	public void setDbcolumnMapping(String dbcolumnMapping) {
		this.dbcolumnMapping = dbcolumnMapping;
	}
	
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

}
